package com.curry.livehelper.entity.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2017-11-09
 */
@TableName("t_quartz_tag")
public class TQuartzTag extends Model<TQuartzTag> {

    private static final long serialVersionUID = 1L;

    /**
     * 定时任务类别
     */

	private String taskTag;
    /**
     * 定时任务名字
     */
	@NotEmpty(message = "任务名不能为空")
	private String taskName;
	private Integer id;
	private String groupTag;
	@NotEmpty(message = "任务组不能为空")
	private String groupName;


	public String getTaskTag() {
		return taskTag;
	}

	public void setTaskTag(String taskTag) {
		this.taskTag = taskTag;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGroupTag() {
		return groupTag;
	}

	public void setGroupTag(String groupTag) {
		this.groupTag = groupTag;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
